package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.pojo.Orders;
import com.itheima.reggie.pojo.Page;
import org.springframework.transaction.annotation.Transactional;

import java.time.LocalDateTime;


public interface OrdersService{

    Page findByPage(Integer pageNum, Integer pageSize, String orderId, LocalDateTime begin, LocalDateTime end);

    @Transactional
    void submit(Orders orders);
}
